<!-- 会员中心主内容区 -->
<div class="page-article">
	<div class="member_welhead"><ins></ins><b><{t}>我的集货单<{/t}></b> </div>
	<!-- 集货单管理 -->
	<div id="member_messagebox" class="member-messagebox">
		<div class="member-tabs">
			<a href="<{link app=b2c ctl=site_member act=collect_order}>"><em><{t}>全部<{/t}></em></a>
			<a href="<{link app=b2c ctl=site_member act=collect_unconfirmed}>"><em><{t}>待集货<{/t}></em></a>
			<a href="<{link app=b2c ctl=site_member act=collect_batch_confirmed}>"><em><{t}>部分集货<{/t}></em></a>
			<a href="<{link app=b2c ctl=site_member act=collect_confirmed }>" class="active"><em><{t}>已集货<{/t}></em></a>
		</div>
		<div class="member-mod member-messagebox-list">
			<table class="member-grid">
				<!-- 标题 -->
				<caption>
					<span class="messagebox-tip"><{t}>共<{/t}><b class="item-unread"><{$confirmed_num}></b> <{t}>条已集货<{/t}></span>
				</caption>
				<thead>
					<tr>
						<th width="15%" style="text-align:center;"><{t}>集货单号<{/t}></th>
						<th width="20%"><{t}>供应商订单号<{/t}></th>
						<th width="20%"><{t}>主订单号<{/t}></th>
						<th width="10%" style="text-align:center;"><{t}>当前状态<{/t}></th>
						<th width="20%"><{t}>创建时间<{/t}></th>
						<th width="15%" style="text-align:center;"><{t}>操作<{/t}></th>
					</tr>
				</thead>
				<{if $confirmed_num > 0}>
				<{foreach item=collect from=$goodscollection name=name}>
				<tbody>
					<tr>
						<td class="order"><{$collect.gc_id}></td>
						<td class="title2"><{$collect.childOrder_id}></td>
						<td class="title"><{$collect.mainOrder_id}></td>
						<td class="status"><{if $collect.status == 0}><{t}>未集货<{/t}><{elseif $collect.status == 1}><{t}>部分集货<{/t}><{else}><{t}>已集货<{/t}><{/if}></td>
						<td class="time"><{$collect.createtime|cdate}></td>
						<td class="actions"><a title="" href="<{link app=b2c ctl=site_member act=goodscollection_edit arg0=$collect.gc_id arg1='confirmed'}>"><{t}>查看<{/t}></a></td>
					</tr>
				</tbody>
				<{/foreach}>
				<{else}>
				<tbody>
					<tr class="first"><td colspan="5" class="no-information"><{t}>暂无集货单<{/t}></td></tr>
				</tbody>
				<{/if}>
			</table>
		</div>
		<{pagers data=$pager}>
	</div>
</div>